-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: declare dependency from KSP #15
Conversation
Hey @alpaca0984! |
Hello @gaelmarhic, thank you for your reply :) I created a sample project where I could see the build error. My environment is:
Let me know if you need more information. Many thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Hi @alpaca0984! Thanks for providing the sample project. I have been able to reproduce this issue and test your fix. I have merged the PR and published a new version ( I'll let you know once it is available. Thanks for your contribution! |
Hello @gaelmarhic, Besides this PR, I found that this project needs to be updated to support partially qualified class names (related to #3 ). I will open another PR in several days :) |
Hi @alpaca0984, |
Thanks for noticing that! Looking forward to your PR! Thank you for your interest and for the help! :) |
Hey @alpaca0984. I wanted to test it against your sample project, but I can't build it because of the following error:
I saw that you made some changes regarding the toolchain in the last few days. Does it build on your side? Thanks! |
Hi @gaelmarhic , On my end, I can build the sample project with Quadrant 1.8. Build logs are here
Yes, I made the changes to address an error raised by the Android Studio. I use the KSP in the app module.
Let me know if you need further information. I will be happy to jump in. |
Apparently, ↓ is the specific issue with KSP 1.8.XX.
I updated it from 1.8.10-1.0.9 to 1.9.0-1.0.13 with MasaHirano/QuadrantKspCompileSample#1 and now Also, I configured GitHub actions to confirm the build succeeds. |
Hey @alpaca0984! |
Hi @gaelmarhic and Happy New Year 🎉 You're welcome. You might notice that although build succeeds, the Quadrant failed to create fully qualified class names. package com.gaelmarhic.quadrant
import kotlin.String
public object QuadrantConstants {
public const val MAIN_ACTIVITY: String = ".MainActivity"
public const val ACTIVITY1: String = ".Activity1"
public const val ACTIVITY2: String = ".Activity2"
} It should be fixed with #16 . |
Hi @alpaca0984! Happy new year to you too! |
Have a nice vacation Gaël :) |
Thank you so much :) |
Overview:
I find this plugin helpful while I migrate my app to a single-activity architecture. I use KSP for annotation processing but the build fails due to a missing dependency declaration.
Dear @gaelmarhic, I don't know if you still maintain this repository but if you can have time to look at this PR, it's highly appreciated.